package com.whw.springboot.walk.mapper;

import com.whw.springboot.walk.entity.Action;
import com.whw.springboot.walk.entity.ActionNumber;

import java.util.List;

public interface ActionMapper {

    int insertAction(Action action);

    int insertActionFile(ActionNumber action);

    int deleteActionByPrimaryKey(String actId);

    int updateActionByPrimaryKey(Action action);

    Action findActionByPrimaryKey(String actId);

    List<Action> findActionsByType(String actType);

    List<Action> findAllActions();

    List<Action> findActionByTitle(String actTitle);

}
